<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>demo2-1</title>
	</head>
	<body>
	</body>
	<script>
		var x = 6;
		console.log(x);
		{
			var x = 3;
			console.log(x);
		}
		console.log(x);
		var y = 6;
		console.log(y);
		{
			let y = 3;
			console.log(y);
		}
		console.log(y);
	</script>
</html>